a {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .img-list li {
        border: 5px solid transparent;
        box-sizing: border-box;
        width: 100% !important;
        float: left;
        position: relative;
        cursor: pointer;
    }

    .hover-text {
        font-size: 2.5rem !important;
    }

    .img-list {
        margin-top: 50px !important;
    }

    .dropdown-content-language {
        z-index: 100;
    }

    .dropdown-content-register {
        z-index: 100;
    }

    .dropdown-content-language img {
        margin-top: 0;
        margin-bottom: 0;
        width: 24px;
        height: 24px;
    }

    .dropdown-content-language a {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .dropdown-content-register a {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .h1-movil {
        font-size: 2.5em !important;
    }

    .container-partners-bg {
        width: 100% !important;
    }

    .container-assessment-bg {
        width: 100% !important;
        text-align: center !important;
    }

    .container-partners {
        margin-top: 100px !important;
        width: 95% !important;
    }

    fieldset {
        width: 100% !important;
    }

    #edeucation,
    #ergon,
    #dip,
    #jabok {
        display: block !important;
    }

    .titulo-h1-partners {
        margin-top: 20px;
    }

    .form-login {
        width: 90% !important;
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

    .preguntas-assessment,
    fieldset label {
        font-size: 12px !important;
    }

    #container {
        width: 100% !important;
        height: auto !important;
    }

    .popup {
        width: 100% !important;
        height: auto !important;
    }
}

.form-login {
    width: 400px;
    background-color: #e8c5c5;
    border-radius: 25px;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: rgb(243, 243, 243);
    width: 250px;
    font-size: 15px;
    z-index: 100;
    text-align: center;
    flex-direction: column;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #721412;
    box-shadow: 0px 8px 1px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 1px 22px 1px 23px;
    color: white;
    margin-left: 50px;
}

.dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 10px;
    padding: 0;
}

.dropdown-content a:hover {
    background-color: #721412;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.usericon:hover .dropdown {
    display: block;
}

.img-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.img-list li {
    border: 5px solid transparent;
    box-sizing: border-box;
    width: 500px;
    float: left;
    position: relative;
    cursor: pointer;
}
.img-list img {
    max-width: 100%;
    vertical-align: middle;
}

/* The hover effect
        -------------------------------------------------------------- */
.img-list li:before {
    transition: all 0.5s ease;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: #333;
    transform: scale(0);
}
.img-list li:hover:before {
    opacity: 0.5;
    transform: scale(1);
}
.img-list li:after {
    transition: all 0.6s ease 0.2s;
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 20px;
    border: 1px solid #aaa;
    background: #000;
    opacity: 0;
    transform: scale(0);
}
.img-list li:hover:after {
    opacity: 0.35;

    border-radius: 20px;
    transform: scale(1);
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0;
    font-size: 4.5rem;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.img-list li:hover .hover-text {
    opacity: 1;

    border-radius: 10px;
}

.dropdown-content-project {
    display: none;
    position: absolute;
    background-color: rgb(243, 243, 243);
    width: 250px;
    font-size: 15px;
    z-index: 100;
    text-align: center;
    flex-direction: column;
}

.dropdown-content-language {
    display: none;
    position: absolute;
    left: 50%; /* Lo centra respecto al icono */
    transform: translateX(-50%);
    background-color: rgb(243, 243, 243);
    font-size: 15px;
    z-index: 100;
    text-align: center;
    flex-direction: column;
    min-width: 150px;
    white-space: nowrap;
}

.dropdown-content-register {
    display: none;
    position: absolute;
    left: 50%; /* Lo centra respecto al icono */
    transform: translateX(-50%);
    background-color: rgb(243, 243, 243);
    font-size: 15px;
    z-index: 100;
    text-align: center;
    flex-direction: column;
    min-width: 150px;
}

.dropdown-project:hover .dropdown-content-project,
.dropdown-project:hover .dropdown-content-language,
.dropdown-project:hover .dropdown-content-register {
    display: flex;
}

.dropdown-project {
    position: relative;
    display: inline-block;
    color: #b05656;
}

.skew-c {
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0px;
    background: linear-gradient(to left bottom, #fff 49%, #721412 50%);
}

.colour-block {
    background: #721412;
    width: 100%;
    padding: 40px;
    color: #fff;
}
